package dfbz.demo01;

public class Test01 {
    public static void main(String[] args) {
        stu1 s1=new stu1("黄晓",18);
        stu2 s2=new stu2("程炜东",18);
        stu3 s3=new stu3("李四",20);
        s1.eat();
        s2.eat();
        s3.eat();
        System.out.println("------------------------");
        s1.sleep();
        s2.sleep();
        s3.sleep();
        System.out.println("------------------------");
        s1.show();
        s2.show();
        s3.show();
    }
}
